<?php

class Tm extends CI_Controller{
    function __construct() {
        parent::__construct();
        $this->load->model('tm_m');
    }
    
    function getlist($type,$taskid){
        $tms=$this->tm_m->getlist($type,$taskid);
        var_dump($tms);
    }
}

